From cf6f57b41c1ca0516d67a62bd85a9ef58e88f584 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 25 Feb 2021 11:03:03 -0500 Subject: [PATCH] passwordentry: Add property annotations Connect properties, getters, and setters with annotations --- gtk/gtkpasswordentry.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c index b1b6042533..f267325cba 100644 --- a/gtk/gtkpasswordentry.c +++ b/gtk/gtkpasswordentry.c @@ -458,7 +458,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass) GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY); /** - * GtkPasswordEntry:show-peek-icon: + * GtkPasswordEntry:show-peek-icon: (attributes org.gtk.Property.get=gtk_password_entry_get_show_peek_icon org.gtk.Property.set=gtk_password_entry_set_show_peek_icon) * * Whether to show an icon for revealing the content. */ @@ -470,7 +470,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass) GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY); /** - * GtkPasswordEntry:extra-menu: + * GtkPasswordEntry:extra-menu: (attributes org.gtk.Property.get=gtk_password_entry_get_extra_menu org.gtk.Property.set=gtk_password_entry_set_extra_menu) * * A menu model whose contents will be appended to * the context menu. @@ -575,7 +575,7 @@ gtk_password_entry_new (void) } /** - * gtk_password_entry_set_show_peek_icon: + * gtk_password_entry_set_show_peek_icon: (attributes org.gtk.Method.set_property=show-peek-icon) * @entry: a `GtkPasswordEntry` * @show_peek_icon: whether to show the peek icon * @@ -628,7 +628,7 @@ gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry, } /** - * gtk_password_entry_get_show_peek_icon: + * gtk_password_entry_get_show_peek_icon: (attributes org.gtk.Method.get_property=show-peek-icon) * @entry: a `GtkPasswordEntry` * * Returns whether the entry is showing an icon to @@ -645,7 +645,7 @@ gtk_password_entry_get_show_peek_icon (GtkPasswordEntry *entry) } /** - * gtk_password_entry_set_extra_menu: + * gtk_password_entry_set_extra_menu: (attributes org.gtk.Method.set_property=extra-menu) * @entry: a `GtkPasswordEntry` * @model: (allow-none): a `GMenuModel` * @@ -691,7 +691,7 @@ gtk_password_entry_set_extra_menu (GtkPasswordEntry *entry, } /** - * gtk_password_entry_get_extra_menu: + * gtk_password_entry_get_extra_menu: (attributes org.gtk.Method.get_property=extra-menu) * @entry: a `GtkPasswordEntry` * * Gets the menu model set with gtk_password_entry_set_extra_menu(). -- 2.30.2